home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / pc2am / install < prev    next >
Text File  |  1994-03-14  |  3KB  |  108 lines

  1. ; Installer script for the PC2Am program
  2.  
  3. (welcome)
  4.  
  5. (if (= @user-level 0) 
  6.   (abort "This script cannot be run in the Novice mode.")
  7. )
  8.  
  9. (if (> (getversion (resident)) (* 37 65536))
  10.   (
  11.     (copyfiles
  12.       (prompt "Copying mount receipt")
  13.       (source "Storage/DOSDrivers")
  14.       (all)
  15.       (dest "Sys:Storage/DOSDrivers")
  16.       (confirm)
  17.       (help 
  18.         "This will copy the device definition also containing configuration to a directory. "
  19.         "If you copy it to the SYS:Storage/DOSDrivers directory, it will not be mounted automatically "
  20.         "and you will have to use the \"mount PC\" command to run it.\nPlacing in the DEVS:DOSDrivers "
  21.         "dir will mount it automatically after every startup. However, it is a good idea to not allow "
  22.         "automatic loading of handler (by adding the \"ACTIVATE = 0\" toooltype) and setting the "
  23.         "\"Activate\" entry in the file to 0. It can be also done by configuration program."
  24.       )
  25.     )
  26.   )
  27.   (
  28.     (textfile
  29.       (prompt "Program is to insert some lines at the beginning of your DEVS:Mountlist. If you have already installed PC2Am, remove the old specification after installing.")
  30.       (dest "t:Tmp")
  31.       (include "Devs/PCEntry")
  32.       (include "Devs:Mountlist")
  33.       (confirm)
  34.       (help "You have system V 2.0, that does not allow use of separate device definitions, so it is necessary to modify the DEVS:Mountlist file.")
  35.     )
  36.     (copyfiles
  37.       (source "T:Tmp")
  38.       (dest "Devs:Mountlist")
  39.     )
  40.     (delete "T:Tmp")
  41.   )
  42. )
  43.  
  44. (copylib
  45.   (prompt "Copying igs.library")
  46.   (source "libs/igs.library")
  47.   (dest "libs:")
  48.   (help "\"igs.library\" is my own GUI support library, that is used by PC2Amiga commodity. It must be installed.")
  49. )
  50.  
  51.  
  52. (copylib
  53.   (prompt "Copying PC2AmParallel.device")
  54.   (source "Devs/PC2AmParallel.device")
  55.   (dest "devs:")
  56.   (help "\"PC2AmParallel.device\" is used for parallel transfer with PC2Amiga. You don't need it when you will use just transfer via serial port.")
  57. )
  58.  
  59.  
  60. (copyfiles 
  61.   (prompt "Copying the handler.")
  62.   (source "L/pc2am-handler")
  63.   (dest "l:")
  64.   (help "The filesystem. Must be installed.")
  65.   (confirm)
  66. )
  67.  
  68. (copyfiles 
  69.   (prompt "Copying doc.")
  70.   (source "Docs")
  71.   (all)
  72.   (dest "HELP:")
  73.   (infos)
  74.   (help "PC2Am.guide is standart doc. Please read it.\nPC2AmProblems.guide is a hypertext system that tries to determine why you have problems with PC2Amiga. If all works OK, you don't need it.")
  75.   (confirm)
  76. )
  77.  
  78. (copyfiles 
  79.   (prompt "Copying configuration script.")
  80.   (source "ConfigPC2Amiga")
  81.   (all)
  82.   (dest "C:")
  83.   (help "This is an Installer script for configuring Amiga side of PC2Amiga.")
  84.   (confirm)
  85. )
  86.  
  87. (copyfiles 
  88.   (prompt "Copying utility commands.")
  89.   (source "C")
  90.   (all)
  91.   (dest "C:")
  92.   (help "Both files are used by an Amiga side configuration script.")
  93.   (confirm)
  94. )
  95.  
  96. (run "Installer ConfigPC2Amiga"
  97.   (prompt "Do you want to run configuration script ?\n(Installer must be in the path)")
  98.   (confirm)
  99.   (help
  100.     "If you confirm this requester, the configuration script will be run and "
  101.     "you will be able to setup PC2Amiga by an easy way."
  102.   )
  103. )
  104.  
  105. (exit
  106.   "Instalation of Amiga part done. Now you have to transfer all files in the 'PutToPC' directory to your PC. This is described in the Instalation part of PC2Am.guide."
  107. )
  108.